package com.lch.designpattern.strategy.pay.payport;

import com.lch.designpattern.strategy.pay.MsgResult;

/**
 * @author: liuchenhui
 * @create: 2019-06-23 12:36
 **/
public abstract class Payment {
    public abstract String getName();

    public abstract int getBalance(String uid);

    public abstract MsgResult pay(String uid, int amount);
}
